//
//  ZJSqlit.h
//  XMPPIMDemo
//
//  Created by ZJ on 17/4/7.
//  Copyright © 2017年 ZJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YTKKeyValueStore.h"

#define DATATABLE_NAME  @"dataTableName"

@interface ZJSqlit : NSObject

@property (nonatomic, strong) YTKKeyValueStore *keyValueStore;
/** 创建表名 */
- (void)createTableWithName:(NSString *)name;

/** 保存对象到表中 */
- (void)putObject:(id)object withId:(NSString *)objectId intoTable:(NSString *)tableName;
/** 删除表中一个标记的数据 */
- (void)deleteObjectById:(NSString *)objectId fromTable:(NSString *)tableName;
/** 删除表中一个标记中数组里面的某一条数据 */
- (void)deleteObjec:(id)object ObjectById:(NSString *)objectId fromTable:(NSString *)tableName;
/** 得到表中一个标记的数据 */
- (NSArray *)getStringById:(NSString *)stringId fromTable:(NSString *)tableName;



@end
